
#导入蓝图对象
from flask import request,render_template

from . import login
from pojo import student
#编写自定义视图函数
@login.route('/ilogin')
def ilog():
    if(request.method=='GET'):
        #get
        print(request.args.get("sname"))
        print(request.args.get("password"))
    elif request.method=='POST':
        print(request.form.get('sname'))
    return 'ok'
@login.route('/table')
def index():
    return render_template("table.html")
@login.route('/liushui')
def liushui():
    return render_template("importform.html")

